<div id="sidebar" ng-controller="sidebar">
    <div class="sidebar-menu {{nav.parent_cur}}" ng-repeat="nav in menu" ng-init="parent_index = $index">
        <div class="parent"><em class="{{nav.icon}}"></em>{{nav.parent}}</div>
        <div class="children hideDiv {{nav.chrildren_show}}">
            <a href='{{url.link}}' ng-repeat="url in nav.urls" ng-class="sidebarFun([url.val],parent_index)">{{url.name}}</a>
        </div>
    </div>
</div>